package cn.com.hbhgkj.common;

import java.util.ArrayList;
import java.util.List;

public class DataPager<T> {
	
	private Pagination pagination;
	private List<T> data;
	
	public DataPager(){
		data = new ArrayList<T>();
	}
	public DataPager(List<T> list,Pagination pagination){
		this.data = list;
		this.pagination = pagination;
	} 

	public Pagination getPagination() {
		return pagination;
	}


	public void setPagination(Pagination pagination) {
		this.pagination = pagination;
	}


	public List<T> getData() {
		return data;
	}


	public void setData(List<T> data) {
		this.data = data;
	}
	
}
